<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //1.更新变量
        var myname = 'pink老师';
        myname ='tired';
        console.log(myname);
        //2.声明多个变量
        // var age = 18;
        // var name='我叫卡卡西,住在火影村';
        // var address ='kakaxi@itcast.cn';
        // var salary = 2000;
        var age = 18,
            address ='kakaxi@itcast.cn',
            salary = 2000;
        //3.声明变量的特殊情况
    </script>
</head>
<body>
    
</body>
</html>